import moment from 'moment'

const ranges = {
    今天: [moment().startOf('day'), moment()],
    近7天: [
        moment()
            .startOf('day')
            .subtract(6, 'days'),
        moment()
    ],
    本月内: [moment().startOf('month'), moment()],
    近三个月: [
        moment()
            .startOf('month')
            .subtract(2, 'months'),
        moment()
    ],
    半年内: [
        moment()
            .startOf('month')
            .subtract(5, 'months'),
        moment()
    ]
}

export {ranges}